//package com.qiyu.bigdata.reportexcel.repository;
//
//import com.qiyu.bigdata.reportexcel.entity.ReportInfo;
//import org.springframework.data.jpa.repository.JpaRepository;
//import org.springframework.data.jpa.repository.Query;
//import org.springframework.data.repository.CrudRepository;
//
//import java.util.List;
//
//public interface ReportRepository extends CrudRepository<ReportInfo, Integer> {
//
//    @Query(value = "select t.id,b.id as book_id,b.book_template,b.book_name,s.sheet_name,t.table_code, t.table_para from etl_report_table t join etl_report_sheet s on t.sheet_id = s.id join etl_report_book b on s.book_id = b.id where b.id = ?1 ", nativeQuery = true)
//    List<ReportInfo> findReport(Integer id);
//}
